package gui.swing;

import javax.swing.*;
import java.awt.*;

public class TestText extends JFrame {
    public TestText(){
        Container contentPane = this.getContentPane();


//        JTextField jTextField1 = new JTextField("Hello,");
//        JTextField jTextField2 = new JTextField("World!",10);
//
//        contentPane.add(jTextField1,BorderLayout.SOUTH);
//        contentPane.add(jTextField2,BorderLayout.NORTH);
        JPasswordField jPasswordField = new JPasswordField();
        contentPane.add(jPasswordField);

        this.setVisible(true);
        this.setBounds(100,100,400,400);
        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    }

    public static void main(String[] args) {
        new TestText();
    }
}
